package com.xxmw.transaction.common.utils;

import java.util.HashMap;
import java.util.Map;

public class MAPUtil {

	public static Map<String, Object> get(String k, Object v){
		return get(new String[] {k}, v);
	}
	
	public static Map<String, Object> get(String[] k, Object... v){
		Map<String, Object> map = new HashMap<>();
		for(int i=0;i<k.length;i++) {
			map.put(k[i], v[i]);
		}
		return map;
	}

}
